home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1995 June / MacFormat 25.iso / Shareware City / Developers / OutOfPhase1.1 Source / OutOfPhase Folder / OscillatorListSpecifier.h < prev    next >
Text File  |  1994-12-06  |  1KB  |  37 lines

  1. /* OscillatorListSpecifier.h */
  2.  
  3. #ifndef Included_OscillatorListSpecifier_h
  4. #define Included_OscillatorListSpecifier_h
  5.  
  6. /* OscillatorListSpecifier module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Memory */
  12. /* OscillatorSpecifier */
  13.  
  14. /* forwards */
  15. struct OscillatorRec;
  16.  
  17. struct OscillatorListRec;
  18. typedef struct OscillatorListRec OscillatorListRec;
  19.  
  20. /* create a new array of oscillators */
  21. OscillatorListRec*            NewOscillatorListSpecifier(void);
  22.  
  23. /* dispose of oscillator list */
  24. void                                        DisposeOscillatorListSpecifier(OscillatorListRec* OscList);
  25.  
  26. /* append a new oscillator */
  27. MyBoolean                                AppendOscillatorToList(OscillatorListRec* OscList,
  28.                                                     struct OscillatorRec* NewOscillator);
  29.  
  30. /* get one of the oscillators from the list */
  31. struct OscillatorRec*        GetOscillatorFromList(OscillatorListRec* OscList, long Index);
  32.  
  33. /* find out how many oscillators there are in the list */
  34. long                                        GetOscillatorListLength(OscillatorListRec* OscList);
  35.  
  36. #endif
  37.